package com.juyu.miliao.common.domain.dto;

import lombok.Data;

/**
 * @author jh
 * 2018/11/14
 */
@Data
public class OpenApiDTO {

    private Long id;

    /**
     * 渠道
     */
    private String channel;

    /**
     * 版本
     */
    private String versionNum;

    /**
     * 前端审核
     */
    private Boolean forwardAudit;

    /**
     * 后端审核
     */
    private Boolean backAudit;

    /**
     * 应用id
     */
    private Long configAppId;

    /////////vo///////////
    /**
     * 应用分组  1-线上 0-马甲  2-黑白包
     */
    private Integer packageGroup;

    /**
     * 资源
     */
    private OpenApiResourceDTO apiResourceDTO;

    @Override
    public String toString() {
        return "OpenApiDTO{" +
                "channel='" + channel + '\'' +
                ", versionNum='" + versionNum + '\'' +
                ", forwardAudit=" + forwardAudit +
                ", backAudit=" + backAudit +
                ", configAppId=" + configAppId +
                ", packageGroup=" + packageGroup +
                ", apiResourceDTO=" + apiResourceDTO +
                '}';
    }
}
